From 9f56d6274157c490cbf76a150340fd0d3efd9d29 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Wed, 27 Aug 2008 19:10:57 +0000 Subject: [PATCH] Fixup the function declarations that we're overridden from UploadFromBase. --- includes/UploadFromStash.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/UploadFromStash.php b/includes/UploadFromStash.php index 862616549b..34f1fbfe9c 100644 --- a/includes/UploadFromStash.php +++ b/includes/UploadFromStash.php @@ -20,13 +20,13 @@ class UploadFromStash extends UploadFromBase { /* * File has been previously verified so no need to do so again. */ - protected function verifyFile( $tmpfile, $extension ) { + protected function verifyFile( $tmpfile ) { return true; } /* * We're here from "ignore warnings anyway" so return just OK */ - function checkWarnings( &$resultDetails ) { - return self::OK; + function checkWarnings() { + return array(); } } -- 2.20.1